# time : 2017-1-9
# author : 霜white
# function : 做课后作业04-2 打印星星
temp = input('请输入一个整数:')
number = int(temp)
while number:
    i = number - 1
    while i:
        print('@ ', end=' ')
        i -= 1
    j = number
    while j:
        print('*', end=' ')
        j -= 1
    print()
    number -= 1
